<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragment :: myhead(~{::title},~{})">
    <title >Blank page</title>
</head>
<body>
<fieldset class="layui-elem-field ">

</fieldset>
<script>
    //一般直接写在一个js文件中
    layui.use(['layer', 'form','jquery'], function(){
        var layer = layui.layer;
        var form = layui.form;
        var $ = layui.jquery;
    });
</script>

</body>
</html>